package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
* Created by Mybatis Generator on 2023/12/08
*/
@Data
@ApiModel("广告")
@Table(name = "tbl_advertisement")
@NoArgsConstructor
@AllArgsConstructor
public class TblAdvertisement extends BaseEntity {
    @Column(name = "advertise_title")
    private String advertiseTitle;

    @Column(name = "advertise_image")
    private String advertiseImage;



    @Column(name = "start_date")
    private Long startDate;

    @Column(name = "end_date")
    private Long endDate;

    @Column(name = "advertise_status")
    private Integer advertiseStatus;

    @Column(name = "advertise_disp_order")
    private Integer advertiseDispOrder;

    @Column(name = "advertise_transition_timing")
    private Integer advertiseTransitionTiming;

    /**
     * 多个国家以英文逗号隔开,历史数据存在 | 分割的情况
     */
    @Column(name = "advertise_countries")
    @ApiModelProperty("多个国家以英文逗号隔开,历史数据存在 | 分割的情况")
    private String advertiseCountries;

    @Column(name = "advertise_description")
    private String advertiseDescription;
}